import { post } from "./http";
// 接口
export const ImageAction = 'http://yaonan.songshuai.dev.songshuai.com/' // 接口地址
export const LoginOpen = p => post('admin/login', p); // 登录
export const ApiAddImage = p => post('admin/image/uploadImage', p); // 图片上传
export const ApigetCourseList = p => post('admin/course/list', p); // 课程列表
export const ApiAddCourseList = p => post('admin/course/add', p); // 课程新增
export const ApiEditCourseList = p => post('admin/course/edit', p); // 课程编辑
export const ApiUpdateCourseList = p => post('admin/course/modify', p); // 课程确定修改
export const ApiDelCourseList = p => post('admin/course/delete', p); // 课程删除
export const ApigetTeacherList = p => post('admin/teacher/list', p); // 老师列表
export const ApiAddTeacherList = p => post('admin/teacher/add', p); // 老师新增
export const ApiEditTeacherList = p => post('admin/teacher/edit', p); // 老师编辑
export const ApiUpdateTeacherList = p => post('admin/teacher/modify', p); // 老师确定修改
export const ApiGetMainTeacher = p => post('admin/teacher/teacherInfo', p); // 获取主讲老师